using ELportal.Common.Models;

namespace ELportal.Repositories;

public interface IUserRepository
{
	Task<IReadOnlyCollection<IUser>> GetAsync(CancellationToken cancellationToken = default);

	Task<IUser?> GetAsync(uint id, CancellationToken cancellationToken = default);

	Task<IUser?> GetAsync(string ldapLogin, CancellationToken cancellationToken = default);
}
